package com.tender.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.tender.entity.SysMsgInfoEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysMsgInfoMapper extends BaseMapper<SysMsgInfoEntity> {

    List<SysMsgInfoEntity> pageListUser(@Param("userId") Long userId, @Param("offset") int offset,
                                        @Param("pageSize") int pageSize);

    int customCount(@Param("userId") Long userId);

}